package com.example.mapper;

import com.example.pojo.Ticket;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface TicketMapper {
    public List<Ticket> selectAll();

    public boolean insertTicket(Ticket ticket);

    public Ticket getTicket(long id);
}

